package com.hongying.consumer;

public class TestException {

    public static void main(String[] args) {
        Integer b = getNumber();
        System.out.println("b="+b);
    }

    public static  Integer getNumber(){
        Integer a = 10;
        try {
            a = a / 5;
            System.out.println("a t="+a);
            return a;
        }catch (Exception e){
            e.printStackTrace();
        }finally {
            a = a+1;
            System.out.println("a f="+a);

        }
        return a;


    }

}
